home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
2_11.lha
/
2_11
/
2_11b.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
240b
|
13 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ swap two integers
/ version 2
oid swapints(int &a, int &b)
int t = a;
a = b;
b = t;